package com.dianping.cat.home.dependency.format.entity;

import com.dianping.cat.home.dependency.format.BaseEntity;
import com.dianping.cat.home.dependency.format.IVisitor;
import java.util.ArrayList;
import java.util.List;

public class TopoGraphFormatConfig
  extends BaseEntity<TopoGraphFormatConfig> {
/* 10 */   private List<ProductLine> m_productLines = new ArrayList();






/* 17 */   public void accept(IVisitor visitor) { visitor.visitTopoGraphFormatConfig(this); }


  public TopoGraphFormatConfig addProductLine(ProductLine productLine) {
/* 21 */     this.m_productLines.add(productLine);
/* 22 */     return this;
  }


  public boolean equals(Object obj) {
/* 27 */     if (obj instanceof TopoGraphFormatConfig) {
/* 28 */       TopoGraphFormatConfig _o = (TopoGraphFormatConfig)obj;

/* 30 */       if (!equals(getProductLines(), _o.getProductLines())) {
/* 31 */         return false;
      }


/* 35 */       return true;
    }

/* 38 */     return false;
  }


/* 42 */   public List<ProductLine> getProductLines() { return this.m_productLines; }



  public int hashCode() {
/* 47 */     int hash = 0;

/* 49 */     for (ProductLine e : this.m_productLines) {
/* 50 */       hash = hash * 31 + ((e == null) ? 0 : e.hashCode());
    }


/* 54 */     return hash;
  }

  public void mergeAttributes(TopoGraphFormatConfig other) {}
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/classes/!/com/dianping/cat/home/dependency/format/entity/TopoGraphFormatConfig.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */